 [#if p??]
 <!-- 页面信息 -->
 <form action="" id="${form!'infoForm'}" method="post" class="infoForm">
   <input type="hidden" id="${mulity!}pageNo" name="pageNo" value="${p.pageNo}"/>  <!-- 页码信息 -->
   [#list p.params?keys as paramkey ]
     <input type="hidden" id="${paramkey!}"  name="${paramkey!}" value="${(p.params[paramkey])!}"/>
   [/#list]
 </form>


	
	  <button onclick="[#if !p.firstPage]${mulity!}go(1);[#else]javascript:void(0);[/#if]" type="button" class="btn btn-info btn-xs">
                      <span class="glyphicon glyphicon-step-backward"></span>
      </button>
      <button onclick="[#if !p.firstPage]${mulity!}go(${p.prePage})[#else]javascript:void(0);[/#if]" type="button" class="btn btn-info btn-xs">
                      <span class="glyphicon glyphicon-chevron-left"></span>
      </button>
       &nbsp;${p.pageNo}&nbsp;/&nbsp;${p.totalPage}&nbsp;
      <button onclick="[#if !p.lastPage]${mulity!}go(${p.nextPage})[#else]javascript:void(0);[/#if]" type="button" class="btn btn-info btn-xs">
                      <span class="glyphicon glyphicon-chevron-right"></span>
      </button>
      <button onclick="[#if !p.lastPage]${mulity!}go(${p.totalPage})[#else]javascript:void(0);[/#if]" type="button" class="btn btn-info btn-xs">
                      <span class="glyphicon glyphicon-step-forward"></span>
      </button>
                      &nbsp;&nbsp;&nbsp;
      <button onclick="${mulity!}refresh()" type="button" class="btn btn-info btn-xs">
                      <span class="glyphicon glyphicon-refresh"></span>
      </button>
[/#if]
	    
<script>
    //使用原生js实现
    document.getElementById('${form!'infoForm'}').action = location.pathname;
	function ${mulity!}go(pageNo){
		$("input[name='pageNo']").val(pageNo);
		$("form[id='${form!'infoForm'}']").submit();
	}
	function ${mulity!}refresh(){
		${mulity!}go(${p.pageNo});
	}
</script>